package org.jarraiders.musiclibrary.client;

import java.util.ArrayList;

import org.jarraiders.musiclibrary.shared.domain.AlbumDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface AlbumsServiceAsync {

	public void addAlbum(AlbumDTO album, AsyncCallback<AlbumDTO> callback);

	void deleteAlbum(String id, AsyncCallback<Boolean> callback);

	public void getAlbumDetails(AsyncCallback<ArrayList<AlbumDTO>> callback);

	void getAlbum(String id, AsyncCallback<AlbumDTO> callback);

	public void updateAlbum(AlbumDTO album, AsyncCallback<AlbumDTO> callback);

	void searchAlbum(String searchText, AsyncCallback<ArrayList<AlbumDTO>> callback);
}
